package com.ciaojian.core.util.function;

import com.ciaojian.core.enums.business.OrderNoTypeEnum;

/**
 * @author Atlakyn
 */
@FunctionalInterface
public interface OrderFunctional {
    /**
     * 订单号生成方法
     *
     * @param type {@link OrderNoTypeEnum}    订单类型
     * @return 订单号
     */
    String generateOrderNo(OrderNoTypeEnum type);
}
